package Long;

import org.junit.Test;

import java.util.ArrayList;
import java.util.List;

public class demo {

    @Test
    public void demo(){
        List<Long> list = new ArrayList();
        list.add(1l);
        list.add(2l);
        list.add(3l);
        long a = 1l;
        long b = 1l;
        Long c = 1234l;
        Long d = 1234l;
        int  e = 1;
        System.out.println("result:" + list.contains(1l));
        System.out.println("result1:" + ( a == b));
        System.out.println("result2:" + ( c.longValue() == d.longValue()));
        System.out.println("result3:" + ( e == a));
    }
}
